package com.duolebo.uteped_sdk.remind;

import android.content.Context;

import com.duolebo.uteped_sdk.UTEPedBleClientHelper;
import com.yc.nadalsdk.bean.MessageInfo;
import com.yc.nadalsdk.ble.open.UteBleConnection;
import com.yc.nadalsdk.listener.DeviceNotifyListener;

/**
 * @Author: LiuYang
 * @Date: 2023/12/24 12:31
 * @Description:
 */
public abstract class BaseRemind implements DeviceNotifyListener {

    protected Context context;
    protected UteBleConnection uteBleConnection;

    public BaseRemind(Context context) {
        this.context = context;
        UTEPedBleClientHelper.shareInstance().addDeviceNotifyListener(this);
        this.uteBleConnection = UTEPedBleClientHelper.shareInstance().getUteBleConnection();
    }
    protected void sendMessageInfo(MessageInfo messageInfo) {
        UTEPedBleClientHelper.shareInstance().sendMessage(messageInfo);
    }
}
